"""
while，，，，else与结合使用
"""

i = 1
while i <= 5:
    print('媳妇我错了')
    i += 1
else:
    print('媳妇终于原谅我了，好开心呀！')

#添加if,break，while和else案例
print('.........................................................')
j = 0
while j <= 5:
    if j ==3:
        print('你这遍说的也不真诚啊')
        break
    print('媳妇我错了')
    j += 1
else:
    print('媳妇原谅我了，好开心')


print('.............................................')
x = 1
while x <= 5:
    if x ==3:
        print('你这遍说的也不真诚啊')
        x +=1
        continue

    print('媳妇我错了')
    x += 1
else:
    print('媳妇原谅我了，好开心')